/**
 * Created by 白雨浓 on 2018/1/24 9:28.
 */


export const template = `UPDATE \`<%=dbName%>\`.\`<%=tableName%>\`
SET<% variables.forEach(item=>{ %> 
<if test="<%=item.jName%> != null">\`<%=item.sName%>\` = #{<%=item.jName%>},</if><%})%>
\`update_time\` = NOW()
WHERE
(\`<%=sWhere%>\` = #{<%=jWhere%>});`;